thrash about in the water

Translations
барахтаться в воде
He was thrashing about in the water, trying to stay afloat.
Он барахтался в воде, пытаясь остаться на плаву.